package com.orientation.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.orientation.dto.BulletinDto;
import com.orientation.entity.Bulletin;
import com.orientation.vo.BulletinStudentVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xuandian
 * @since 2022-02-12
 */
public interface BulletinService extends IService<Bulletin> {
    /**
     * 批量添加通告
     * @param bulletinDto
     */
    void saveBatchBulletin(BulletinDto bulletinDto);

    /**
     * 通告列表
     * @param majorId
     * @param className
     * @param studentId
     * @param adviserId
     * @return
     */
    List<BulletinStudentVo> bulletinStudentVo(String majorId, String className, String studentId, String adviserId,String createTime);

    /**
     * 分页通告列表
     * @param majorId
     * @param className
     * @param studentId
     * @param adviserId
     * @return
     */
    IPage<BulletinStudentVo> queryBulletinStudent(Integer pageNum, Integer pageSize,String majorId, String className, String studentId, String adviserId,String createTime);
}
